{% if user.is_authenticated %}
{% csrf_token %} Hello {{ user.username }}! Log off
{% else %} {% endif %}